package com.smart_campus.campus.mapper;

import com.smart_campus.bus.domain.Journal;
import com.smart_campus.bus.vo.JournalVo;
import com.smart_campus.campus.domain.NewsSchool;
import com.smart_campus.campus.vo.CampusCarouselVo;
import com.smart_campus.campus.vo.NewSchoolVo;
import com.smart_campus.sys.common.DataGridView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewsSchoolMapper {
    int deleteByPrimaryKey(Integer articleid);

    int insert(NewsSchool record);

    int tup(NewsSchool record);

    int insertSelective(NewsSchool record);

    NewsSchool selectByPrimaryKey(Integer articleid);

    int updateByPrimaryKeySelective(NewsSchool record);

    int updateByPrimaryKey(NewsSchool record);

    List<NewSchoolVo> queryCarousel(NewSchoolVo newSchoolVo);

//    List<NewSchoolVo> selallJournal(NewSchoolVo vo);
//
//    List<NewSchoolVo> getDataByModel(@Param("page")Integer page, @Param("limit") Integer limit, @Param("model") String model);

    List<NewSchoolVo> getHotNews();

    List<NewSchoolVo> selh(NewSchoolVo  newSchoolVo);
}